package com.example.ymm.model;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;



/**
 * 用户登录参数
 * Created on 2018/4/26.
 */
@Data
public class UserLoginParam {
    @Schema( name = "用户名", required = true)
    @NotBlank(message ="用户名不能为空!")
    private String userName;

    @Schema( name = "密码", required = true)
    @NotBlank(message ="密码不能为空!")
    private String passWord;


}
